#pragma once
//#include "MessageQ.h"
#include "Communicator.h"
#include "Parameters.h"
#include "Actor.h"

class TaskStream : public Actor
{
private:
	Parameters *distribution;
	
	Time timeToNextTask;
public:
	unsigned int target;	

	TaskStream(Communicator & com, Parameters * distribution,  int target);
	~TaskStream(void);	

	void tick();
};

